{eyou:static file="skin/css/style2.css"/}
{eyou:static file="skin/css/eyou.css"/}
{eyou:static file="skin/css/new.css"/}
<header class="index_web_head web_head">
  <div class="hi-top">
    <div class="w1200">
      <div class="hi-top-l fl"> <span>欢迎光临{eyou:global name='web_name' /}</span> </div>
      <div class="hi-top-r fr">
        <ul class="link">
          {eyou:user type='cart' id='field'}
          <li><a href="{$field.url}" id="{$field.id}">购物车</a></li>
          {$field.hidden}
          {/eyou:user}
          {eyou:user type='collect' id='field'}
          <li><a href="{$field.url}" id="{$field.id}">我的关注</a></li>
          {$field.hidden}
          {/eyou:user}
          <li><a href="{eyou:Diyurl link='user/Users/login' /}">会员主页</a></li>
        </ul>
        <div class="login ml20"> {eyou:user type='open'}
          {eyou:user type='login'} <a href="javascript:;" id="{$field.id}" onclick="if(!getCookie('users_id')){$('#ey_login_id_1609665117').click();}">登陆</a> /
          {$field.hidden}
          {/eyou:user}
          {eyou:user type='reg'} <a href="{$field.url}" id="{$field.id}" >注册</a> {$field.hidden}
          {/eyou:user}
          {eyou:user type='logout'} <a href="{$field.url}" id="{$field.id}" >退出</a> {$field.hidden}
          {/eyou:user}
          {/eyou:user} </div>
      </div>
    </div>
  </div>
  <div class="head_layer">
    <div class="layout">
      <figure class="logo"><a href="{eyou:global name='web_basehost' /}"><img src="{eyou:global name='web_logo' /}" alt="{eyou:global name='web_name' /}"></a></figure>
      <nav class="nav_wrap">
        <ul class="head_nav">
          <li class="{eyou:eq name='$Request.param.m' value='Index'}nav-current{/eyou:eq}"><a href="{eyou:global name='web_basehost' /}"><em>Home</em></a></li>
          {eyou:models type="top" id="field" currentstyle="nav-current" loop='5'}
          <li class="{$field.currentstyle}"><a href="{$field.typeurl}"><em>{$field.typename}</em></a> {eyou:notempty name="$field.children"}
            <ul>
              {eyou:models name="$field.children" id="field2"}
              <li> <a href="{$field2.typeurl}"><em>{$field2.typename}</em></a> {eyou:notempty name="$field2.children"}
                <ul>
                  {eyou:models name="$field2.children" id="field3"}
                  <li><a href="{$field3.typeurl}"><em>{$field3.typename}</em></a></li>
                  {/eyou:models}
                </ul>
                {/eyou:notempty} </li>
              {/eyou:models}
            </ul>
            {/eyou:notempty} </li>
          {/eyou:models}
        </ul>
      </nav>
    </div>
  </div>
</header>


